package com.cr.admin.business.order.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("cr_order")
public class Order {
    @ApiModelProperty(value = "id")
    private String id;
//    @ApiModelProperty(value = "订单号id")
//    private Long orderId;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "订单状态")
    private String orderStatus;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "车辆id")
    private Long vehicleId;
    @ApiModelProperty(value = "取车地")
    private String addr;
    @ApiModelProperty(value = "取车城市")
    private Integer pickupCityId;
    @ApiModelProperty(value = "取车时间")
    private Date startDate;
    @ApiModelProperty(value = "还车时间")
    private Date endDate;
    @ApiModelProperty(value = "租车时长")
    private Long rentalDuration;
    @ApiModelProperty(value = "支付金额")
    private Long totalCost;
    @ApiModelProperty(value = "支付状态")
    private String paymentStatus;
    @ApiModelProperty(value = "支付类型")
    private Integer paymentMethod;
    @ApiModelProperty(value = "支付时间")
    private Date paymentDate;
    @ApiModelProperty(value = "撤单时间")
    private Date cancellationTime;
    @ApiModelProperty(value = "优惠类型")
    private Long couponType;
    @ApiModelProperty(value = "支付宝交易凭证")
    private String tradeNo;
}
